package com.sjms._11_结构_桥接模式;

public abstract class ASchool {
    String name;
    String className;
    ATeacher aTeacher;

    public ASchool(String name, String className, ATeacher aTeacher) {
        this.name = name;
        this.className = className;
        this.aTeacher = aTeacher;
        System.out.println(name + " " + className + " " + aTeacher.getName());

        aTeacher.attendClass();
        aTeacher.finishClass();
    }


}
